package com.ytkj.digitalConstruction.controller.permission;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ytkj.digitalConstruction.ReturnCode;

/**
 * 权限请求入口
 * 
 * @author Pete
 * @Date 2017年12月7日
 */
@RestController
@RequestMapping("/permissions")
public class PermissionController {

	/**
	 * 获取用户系统权限
	 * 
	 * @param userId
	 * @return
	 */
	@GetMapping("/get/{userId}")
	public ReturnCode get(@PathVariable int userId) {
		return new ReturnCode.Builder().Success(false).build();
	}

}
